<html>
<head>
</head>
<script src="/site_media/chart/openflash/js/swfobject.js"></script>
<script>
function loadswf(){
//    swfobject.embedSWF("/site_media/swf/open-flash-chart.swf", "my_chart", "100%", "200", "9.0.0", "/site_media/swf/expressInstall.swf",{},{wmode:'transparent'});
    swfobject.embedSWF("/site_media/swf/open-flash-chart.swf", "my_chart", "100%", "200","9.0.0","/site_media/swf/expressInstall.swf",{'get-data':'get_data_2'},{wmode:'transparent'});
//    swfobject.embedSWF("/site_media/swf/open-flash-chart.swf", "my_chart", "100%",
//    "200","9.0.0","/site_media/swf/expressInstall.swf",{'data-file':'/chart/openflash/json/'},{wmode:'transparent'});
}
function get_data_1(){
    return '{"elements":[{"type": "bar", "alpha": 0.5, "colour": "#9933CC", "text": "Page views", "font-size":10, "values" : [9,6,7,9,5,7,6,9,7]}]}';
}
function get_data_2(){
    return '{{ json_data }}';
}
</script>
<body onload="loadswf();">
 
<p>Hello World</p>
    <div class="resultBox">
        <div id="my_chart"></div>
    </div>
</body>
</html>
